<template>
  <div class="header">
    <div class="header_left">
      <span>成都</span>
      <span class="iconfont xiala">&#xe69a;</span>
    </div>
    <div class="header_mid">
      <div class="header_mid_wrap">
        <span class="iconfont">&#xe611;</span>     
        <span>输入商家/品类/商圈</span>
      </div>
    </div>
    <div class="header_right">
      <span class="iconfont me">&#xe62f;</span>
      <span>我的</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header{
  width: 100%;  
  background-color: #06c1ae;
  display: flex;
  color: #ffffff;
  height: 1rem;
}
.header_left{
  width: 1rem;
}
.header_left span{
  height: 1rem;
  line-height: 1rem;
}
.header_left span.xiala{
  margin-left: .1rem;
  font-size: .32rem;
}
.header_mid{
  flex:1;
}
.header_mid_wrap{
  width: 80%;
  margin: 0 auto;
  height: .6rem;
  line-height: .6rem;
  font-size: .24rem;
  text-align: left;
  display: block;
  margin-top: .2rem;
  background-color: #63b1a8;  
  border-radius: .1rem;
}
.header_mid_wrap span{
  font-size: .28rem;
  margin-right: .2rem;
}
.header_right{
  width: 1rem;
}
.header_right span{
  height: .5rem;
  display:block;
}
.header_right span.me{
  font-size: .5rem;
}
</style>
